<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <div class="colmask threecol">
            <div class="colmid">
                <div class="colleft">
                    <div class="col1">
                        Text
                        <br/>
                        <textarea cols="40" rows="6" readonly="true" >
                            <c:out value="${complaint.text}"/>
                        </textarea>
                    </div>
                    <div class="col2" >
                        <table class="simple">
                            <tr>
                                <td>Name (optional)</td>
                                <td><c:out value="${complaint.name}"/></td>
                            </tr>
                            <tr>
                                <td>Match</td>
                                <td>
                                    <c:out value="${match.dateAndTime}"/>
                                    <br/>
                                    <c:out value="${player1.lastName}"/> vs. <c:out value="${player2.lastName}"/>
                                </td>
                            </tr>
                            <tr>
                                <td>Timestamp</td>
                                <td><c:out value="${complaint.timestamp}"/></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
